#ifndef i_loader_h_
#define i_loader_h_

#define WAD_COUNT			8
#define MAX_GAMES			4
#define	MAX_PWADS			32
#define MAX_PATH			1024

#define SAVE_PATH			"/dev_hdd0/game/HBDM90000/USRDIR/save"
#define WAD_PATH			"/dev_hdd0/game/HBDM90000/USRDIR/wad"
#define IMG_PATH			"/dev_hdd0/game/HBDM90000/USRDIR/loadimgs"

struct						LoaderGame
{
	char					WAD[MAX_PATH];
	char					BaseName[256];
	SDL_Surface*			Image;
};

struct						PWAD
{
	char					WAD[MAX_PATH];
	char					BaseName[256];
};

extern struct LoaderGame*	Games[MAX_GAMES];
extern uint32_t				FoundGames;

extern struct PWAD			PWADS[MAX_PWADS];
extern uint32_t				FoundPWADS;

extern struct PWAD			DEH[MAX_PWADS];
extern uint32_t				FoundDEH;


#endif
